import { configureStore } from "@reduxjs/toolkit";
import tabbarReducer from "./reducers/tabbar";
import userInfoReducer from "./reducers/userInfo";

const store = configureStore({
  reducer: {
    tabbar: tabbarReducer,
    userInfo: userInfoReducer,
  },
});

export default store;

export type RootState = ReturnType<typeof store.getState>;
